package top.amot.forceview.model

class Node(item:Any?=null) : AbstractNode(item) {

    override val type: String
        get() = TYPE

    var text: String? = null
    var radius = RADIUS


    constructor(text: String?, level: Int) : this() {
        this.text = text
        this.level = level
    }

    companion object {
        const val RADIUS = 60f
        const val TYPE = "circle"
    }
}